import { PartialType } from '@nestjs/mapped-types';
import { ApiProperty } from '@nestjs/swagger';
import { CreateUserDto } from './create-user.dto';

export class UpdateUserDto extends PartialType(CreateUserDto) {
  @ApiProperty({
    description: '邮箱',
    default: '1132929091@qq.com'
  })
  email: string

  @ApiProperty({
    description: '密码',
    default: '123456'
  })
  password: string

  @ApiProperty({
    description: '手机号',
    default: '13332558952'
  })
  mobile: string

  @ApiProperty({
    description: '描述',
    default: '这个人什么也没留下。。。'
  })
  description: string

  @ApiProperty({
    description: '是否验证',
    default: false
  })
  isVerify: boolean
}
